﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Pay_My_Interface.Entity;
using System.Drawing;

namespace Pay_My_Client.LocalEntity
{
    class User : IUser
    {
        private string _firstName;
        private string _lastName;
        private int _id;
        private DateTime _inscDate;
        private string _code;
        private Image _photo;
        private bool _isStaff;
        private bool _isAdmin;
        private double _solde;

        public string FirstName
        {
            get
            {
                return _firstName;
            }
            set
            {
                _firstName = value;
            }
        }

        public string LastName
        {
            get
            {
                return _lastName;
            }
            set
            {
                _lastName = value;
            }
        }

        public int Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        public DateTime InscDate
        {
            get
            {
                return _inscDate;
            }
            set
            {
                _inscDate = value;
            }
        }

        public string code
        {
            get
            {
                return _code;
            }
            set
            {
                _code = value;
            }
        }

        public Image photo
        {
            get
            {
                return _photo;
            }
            set
            {
                _photo = value;
            }
        }

        public bool IsStaff
        {
            get
            {
                return _isStaff;
            }
            set
            {
                _isStaff = value;
            }
        }

        public bool IsAdmin
        {
            get
            {
                return _isAdmin;
            }
            set
            {
                _isAdmin = value;
            }
        }

        public double solde
        {
            get
            {
                return _solde;
            }
            set
            {
                _solde = value;
            }
        }

        public void removeUser()
        {

        }
    }
}
